#ifndef TESTCASE_H
#define TESTCASE_H

#include "common.h"

class wxString;
class wxTreeCtrl;
class wxTreeItemId;
class wxOutputStream;

class CAPY_TEST_API TestCase
{
public:
	TestCase(const wxString& name);
	virtual void Run()=0;
	//virtual const wxString& GetName()=0;
	virtual ~TestCase();
	void Draw(wxTreeCtrl& tree, wxTreeItemId& parent);
	void Draw(wxOutputStream& stream);
protected:
	bool AssertEqual(long a, long b);
private:
	wxString* name;
};

#endif // TESTCASE_H